package com.niiwoo.civet.trade.dto.response.intelligenceInvest;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by HuangMin on 2018/10/26.
 */
@Getter
@Setter
public class IntelligenceDetailListResponseDTO implements Serializable {

    //标的ID
    private Long projectId;
    //订单编号
    private Long orderId;
    //借款人用户ID
    private String borrowUserId;
    //借款用户头像
    private String headImg;
    //借款用户昵称
    private String nickName;
    //借款期限
    private Integer deadline;
    //借款期限单位-1月，2天
    private Byte deadlineUnit;
    //借款利率
    private BigDecimal borrowRate = BigDecimal.ZERO;
    //标的加息
    private BigDecimal addRate = BigDecimal.ZERO;
    //订单状态:1投资中,2回款中,3回款逾期,4已关闭,5已结清,6转让中,7已转让,8已提前结清
    private Byte status;
    //投资本金
    private BigDecimal amount = BigDecimal.ZERO;
    //参考收益：参考收益=参考利息+参考活动加息（不含红包和加息券）
    private BigDecimal interest = BigDecimal.ZERO;
    //计息日期
    private Date calInterTime;
    //到期日期
    private Date expireTime;
    //结束日期
    private Date endTime;
    //包类型(1：普通智能投，2：新手智能投)
    private Byte packageType;
    //逾期提示文案
    private String overdueMsg;
    //是否企业标-企业标头像展示本地图片(true:企业标;false:非企业标)
    private Boolean isEnterpriseProject;

}
